<?php
use yii\helpers\Html;
use yii\helpers\Url;
use frontend\models\User;
	$session = Yii::$app->session;
	$uid = $session->get('user_id');
	$model = User::find()->where(["user_id"=>$uid])->one();
?>
<link href="/static/css/user-center.css" rel="stylesheet">
<style type="text/css">
    .block-nav-banner a{
        #666;
    }
</style>
<div class="user-banner"  style="">
<div class="container">
<div class="column-layout user-banner-in">
<div class="column-col-m">
<div class="column-layout">
    <div class="column-col-ml">
        <div class="u-photo-box"><a href="http://www.bwphp.com/group/common/dynmsg/73826" uid="73826" class="u-photo" id="photo1"><img src="http://files.bwphp.com/file/image/show/100/100?path=<?php echo $model->user_thumb;?>"></a></div>
    </div>
    <div class="column-col-m column-full">
        <!-- 老师  -->
        <div dy-v="11-11-00-00" class="u-text-info">
            <span class="u-name"><?php echo $model->user_name;?></span><span class="text"></span><span class="u-title">ID：<?php echo $model->user_num;?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;积分：<font style="color:#ffad0f;font-size:16px;font-weight:bold"><?php echo $model->user_virtual;?></font></span>
            <p class="u-introduction"></p>
        </div>
    </div>
    <div class="column-col-mr">
        <div class="u-else-box">
            
           <!--  <ul class="list-inline">
                <li><a href="http://www.bwphp.com/group/common/social/?list_type=follows"><span class="i-num">1</span><span class="i-type">关注</span></a></li>
                <li><a href="http://www.bwphp.com/group/common/social/?list_type=fans"><span class="i-num">0</span><span class="i-type">粉丝</span></a></li>
            </ul> -->
           
            
        </div>
    </div>
</div>
</div>
</div>
</div>
</div>
<style type="text/css">
.center-active{
    color: #6699ff;
}
</style>
<!--导航开始-->
<div class="block-nav-banner">
    <div class="container">
<ul class="list-inline">
    <li><a href="<?= Url::to(['center/index'])?>"><i class="ico ico-QA"></i><span class="ico-label-text  center-active">基本信息</span></a></li>
    <li><a href="<?= Url::to(['center/avatar'])?>"><i class="ico ico-text"></i><span class="ico-label-text">个人头像</span></a></li>
    <li><a href="<?= Url::to(['center/course'])?>"><i class="ico ico-horn"></i><span class="ico-label-text">我的课程</span></a></li>
    <li><a href="<?= Url::to(['center/myfriend'])?>"><i class="ico ico-horn"></i><span class="ico-label-text">好友列表</span></a></li>
    <li><a href="<?= Url::to(['center/answer'])?>"><i class="ico ico-horn"></i><span class="ico-label-text">我的问答</span></a></li>
    <li><a href="<?= Url::to(['center/comment'])?>"><i class="ico ico-horn"></i><span class="ico-label-text">我的评论</span></a></li>
    <li><a href="<?= Url::to(['center/message'])?>"><i class="ico ico-horn"></i><span class="ico-label-text">收藏的文章</span></a></li>
    <li><a href="<?= Url::to(['center/liketeacher'])?>"><i class="ico ico-horn"></i><span class="ico-label-text">喜欢的教师</span></a></li>
</ul>
</div>
</div>
